package com.zhehekeji.opsys.api.webservice.server;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import org.apache.cxf.rs.security.cors.CrossOriginResourceSharing;

import com.zhehekeji.opsys.api.resp.GetVotePlayerListOnlyResp;

/**
 * @ClassName VoteManagerTest
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2017-12-1   下午3:55:06
 */
@Path(value="/")
@CrossOriginResourceSharing(allowAllOrigins=true)
public interface VoteManagerTest {
	
	@GET
	@Path(value="getVotePlayerListOnlyByVoteId")
	@Produces(value=MediaType.APPLICATION_JSON )
	GetVotePlayerListOnlyResp getVotePlayerListOnlyByVoteId(@QueryParam(value="voteId")long voteId,
			@QueryParam(value="firstIndex")int firstIndex, 
			@QueryParam(value="maxResult")int maxResult);
}

